package com.zzyl.serve.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("老人信息接收参数")
public class ElderInfoDTO {

    @ApiModelProperty(
            value = "身份证号（18位标准格式）",
            example = "31011319990101001X",
            required = true
    )
    private String idCard;

    @ApiModelProperty(
            value = "老人姓名",
            example = "张三",
            required = true
    )
    private String name;

    @ApiModelProperty(
            value = "称呼（如：爷爷、奶奶）",
            example = "爷爷"
    )
    private String remark;


    @ApiModelProperty(
            value = "分页",
            example = "1",
            required = true
    )
    private Integer pageNum;

    @ApiModelProperty(
            value = "分页",
            example = "10",
            required = true
    )
    private Integer pageSize;
}